@charset "utf-8";
$fontSize: 100;
@function r($p){
    @return $p/$fontSize*1rem;
}
/*热搜页面样式*/
.search_box{
	position: absolute;
	left: 100%;
	top: 0;
	width: 100%; 
	height: 100%;
	background: #f1f1f1;
	// -webkit-transform: translateX(100%);
	// -webkit-transition: all .5s ease-in;
	// transform: translateX(100%);
	transition: all .5s ease-in;
	.hot_search{
		margin: 16px 15px;
		margin-right: 0;
		h1{
			font-size: 16px;
			color: #211d1d;
			margin-bottom: 8px;
		}
		.hotword{
			margin-right: 4px;
			margin-bottom: 5px;
			border: 1px solid #e4e4e4;
			display: block;
			font-size: 15px;
			padding: 6px 9px;
			color: #8B8B8B;
		}
		.hotword:active{
			background: #FF0000;
			color: white;
		}
	}
}
.search_box_top{
	height: 48px;
	background: #1d1d1d;
	padding-top: 9px;
	border-bottom: 1px solid #484848;
	.search_close{
		// float: left;
		width: 25px;
		height: 25px;
		background: #b60005;
		border-radius: 50%;
		margin-left: 6px;
		img{
			width: 13px;
			height: 13px;
			margin-left: 6px;
			margin-top: 7px;
		}
	}
	.search_input{
		width: 80%;
		height: 30px;
		border: 1px solid #ffffff;
		border-radius: 12px;
		margin-left: 20px;
		margin-right: 9px;
		button{
			float: left;
			width: 20px;
			height: 30px;
			background: url('../img/search.png') no-repeat;
			background-size: 100%;
			border: none;
			margin-left: 8px;
			background-position-y: 3px;
		}
		input{
			width: 80%;
			float: left;
			margin-left: 10px;
			display: block;
			height: 30px;
			line-height: 30px;
			font-size: 15px;
			color: #ffffff;
			border: none;
			background: transparent;
		}
	}
}
.move{
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

// 个人主页
.login_box{
	width: 100%;
	height: 100%;
	background: #1e1e1e;
	position: absolute;
	left: 0;
	top: 0;
	color: #ffffff;
	-webkit-transform: translatex(-100%);
	-webkit-transition: all .5s ease-in;
	transform: translatex(-100%);
	transition: all .5s ease-in;
	.user{
		padding-top: 0.3rem;
		padding-bottom: 0.3rem;
		text-align: center;
		border-bottom: 20px solid #484848;
		.portrait_pho{
			margin-bottom: 10px;
		}
		.login_btn{
			input{
				font-size: 20px;
				color: #ffffff;
				background: transparent;
			}
		}
	}
	.login_box_cont{
		padding-top: 0.1rem;
		padding-left: 0.1rem;
		padding-right: 0.15rem;
		.login_cont{
			.drop_down, .drop_down2{
				display: none;
				text-align: center;
				width: 2rem;
				margin: 0 auto;
				a:nth-of-type(1){
					border-bottom: 1px solid #2e2d2d;
				}
				a{
					padding: 14px 60px;
					font-size: 12px;
					text-align: center;
					color: #ffffff;
					display: block;
					cursor:pointer;
				}
				.line{
					border-bottom: 1px solid #2e2d2d;
				}
			}
			.gimc{
				width: 100%;
				display: block;
				position: relative;
				border-bottom: 1px solid #2c2c2c;
				cursor:pointer;
				p{
					display: block;
					font-size: 14px;
					color: #626262;
					line-height: 20px;
					margin-top: 14px;
				}
				span{
					display: inline-block;
					position: absolute;
					top: 0;
					right: 0;
					width: 10px;
					height: 12px;
					img{
						width: 100%;
					}
				}
			}
		}	
	}
}
.move2{
	-webkit-transform: translatex(0);
	transform: translatex(0);
}
.arrow_down{
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

// 登录页面
.login{
	width: 100%;
	height: 100%;
	background: #1e1e1e;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-transform: translateY(-100%);
	-webkit-transition: all .3s ease-in;
	transform: translateY(-100%);
	transition: all .3s ease-in;
	z-index: 10;
	// display: none;
	.back{
		margin-left: 5px;
	}
	.login_logo{
		width: 1.2rem;
		height: 1rem;
		background: url('../img/login_logo.png') no-repeat center center;
		background-size: 90%;
		margin: 0 auto;
		margin-top: 0.6rem;
		margin-bottom: 0.3rem;
	}
	.userName{
		width: 80%;
		margin: 0 auto;
		margin-bottom: 16px;
		p{
			font-size: 13px;
			color: #FF0000;
			display: none;
		}
		.bg{
			width: 20%;
			height:40px;
			background-color: #303030;
			.toux{
				margin: 0 auto;
				width: 45px;
				height:39px;
				background: url('../img/login_user.png') no-repeat center center;
				background-size: 50%;
				background-color: #303030;
			}
		}
	}
	.password{
		width: 80%;
		margin: 0 auto;
		.bg {
			width: 20%;
			height:40px;
			background-color: #303030;
			.mima{
				margin: 0 auto;
				width: 45px;
				height:39px;
				background: url(../img/login_pwd.png) no-repeat center center;
				background-size: 50%;
				background-color: #303030;
			}
		}
		
	}
	.forget_pwd{
		width: 80%;
		height: 21px;
		margin: 0 auto;
		margin-top: 12px;
		position: relative;
		a{
			position: absolute;
			right: 0;
			display: block;
			width: 90px;
			cursor:pointer;
			.wenhao{
				width: 16px;
				height: 16px;
				line-height: 25px;
				margin: auto 0;
				margin-right: 3px;
				img{
					width: 100%;
					vertical-align: text-top;
				}
			}
			>p{
				font-size: 14px;
				color: #ffffff;
				float: left;
			}
		}
	}
	>button{
		display: block;
		width: 240px;
		height: 39px;
		margin: 0 auto;
		margin-top: 27px;
		font-size: 16px;
		color: #cdcdcd;
	}
	.denglu{
		background: #b60005;
	}
	.denglu:hover{
		background: #b6009e;
		color: #b6c211;
	}
	.zhuce{
		width: 240px;
		height: 38px;
		background: #303030;
		margin-top: 14px;
		border: 1px solid #b60005;
	}
	// 共同样式
	.shuru{
		width: 80%;
		height:39px;
		background: #3d3d3d;
		text-align: center;
		overflow: hidden;
		input{
			width: 80%;
			height: 100%;
			border: none;
			font-size: 16px;
			color: #ffffff;
			background: none;
		}
	}
}
.move_QKlogin{
	-webkit-transform: translateY(0);
	transform: translateY(0);
}